Skip to content

Conversation

@wpbonelli
Copy link
Contributor

@wpbonelli wpbonelli commented Oct 29, 2025

Followup on #2546, convert PRT FMI boundary flows from flat array with fixed offset to 2D array with 2nd dimension face numbers. The 2nd dimension uses icellface numbering, the internal "grid-aligned" scheme which shifts iflowface negative top and bottom to the end of an interval from 0 to (grid max lateral cell faces + 2).

This simplifies the structured and vertex methods, no more need to compute an offset. Also define constants for top/bottom face numbers in the iflowface numbering scheme.

@wpbonelli wpbonelli added the code refactor Nonfunctional changes label Oct 29, 2025
@wpbonelli wpbonelli added this to the 6.6.4 milestone Oct 29, 2025
@wpbonelli wpbonelli marked this pull request as ready for review October 29, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code refactor Nonfunctional changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant